close #2 (remove_duplicates optimization)