I might have an array that looks like the following:
[1, 4, 2, 2, 6, 24, 15, 2, 60, 15, 6]
Or, reall
You can convert to a Set and back to an Array again quite easily:
Set
Array
let unique = Array(Set(originals))
This is not guaranteed to maintain the original order of the array.