Removes duplicates from an array of numbers or strings.
The array to remove duplicates from.
A new array with duplicates removed.
Removes duplicates from an array of numbers or strings.