Do you think `#to_set` or `#uniq` is a better option here?