How to make an array with unique values while maintaining order?
Implement a function that returns a new array containing each integer only once, keeping the first occurrence order. The input is an array of integers, and the output must be an array of integers with duplicates removed.
def unique_values(nums):