For arrays of objects, uniq does not work as expected, since it uses strict equality. So
uniq
[[1], [1]].uniq() == [[1], [1]]
In some cases, this might be a workaround:
[[1], [1]].invoke("toJSON").uniq().invoke("evalJSON") // == [[1]]