some_array = [1 1 2 1 'redundant' [1 2 3] [1 2 3] 'redundant'] unique_array = some_array.unique