Suggest a completion for the following python code to get the maximum unique elements in an array.
def maximum_unique_elements(arr):
def maximum_unique_elements(arr):
    curr_max = 0
    seen = set()
    for num in arr:
        if num not in seen:
            curr_max += 1
            seen.add(num)

    return curr_max