var array = [[1, 2, 3], [1, 2, 3], [3, 4, 5], [5, 6, 7], [5, 6, 7]], unique = Array.from(new Set(array.map(a => JSON.stringify(a))), json => JSON.parse(json));