`groups()<-` doesn't check feature names for duplicates, but it should.
groups()<-doesn't check feature names for duplicates, but it should.