Lutron Electronics Interview Question

Remove all duplicates from a passed in array.