Check for array uniqueness