Given an int[] of prime numbers, remove all duplicate primes.