KPMG interview question

In an array of strings, remove all the duplicates and print the modified array.