distinct

fun ComplexFloatArray.distinct(): List<ComplexFloat>
fun ComplexDoubleArray.distinct(): List<ComplexDouble>

Returns a list containing only distinct elements from the given array.

The elements in the resulting list are in the same order as they were in the source array.