Specialize sequential implementation of UniqueSet