uniqWith<T>(array: ?Array<T>, comparator?: Comparator<T>): Array<T>;