in reply to Extracting Unique elements

Use a hash: