Question d’entretien chez AKUNA CAPITAL

Given an array, return a new array with all the unique elements.