Return an array free of duplicate values. Very fast implementation.