Reference: containsDuplicate
containsDuplicate(v) returns true if the real or complex vector v contains the same number at at least two different components.
containsDuplicate(v) returns true if the real or complex vector v contains the same number at at least two different components.