How to get all the unique elements of an array?

In reply to Reuben:
No.