- Method uniq
array uniq(array a)
Remove elements that are duplicates.
This function returns an copy of the array a with all duplicate values removed. The order of the values is kept in the result; it's always the first of several equal elements that is kept.