What's the difference between an array and a set? Implement unique_in_order(values) to demonstrate the distinction: the input array may contain duplicates and preserves order, while the set tracks membership without duplicates. Return a new array containing each value once, in its first-occurrence order.
def unique_in_order(values):