Remove duplicates in Array of Vertices

I have an existing array of vertices (vectors representing the actual vertex positions).

The problem is that many of these are duplicates.

Is there some way I could iterate thru this array and remove all the duplicates?

Just run through the array and transfer them into another using ADDUNIQUE.