def uniqueArrays(vs):
 resdic = {}
 for v in vs:
  resdic[xhash(v)] = v
 return list(resdic.values())

def uniqueArrays ( vs ) : resdic = { } for v in vs : resdic [ xhash ( v ) ] = v return list ( resdic . values ( ) )
create a set of arrays .