Question d’entretien chez Meta

You are given an array with duplicate strings. Write a function to return the array without duplicates.