I have a two-dimensional array:

```
[[7,3], [7,3], [3,8], [7,3], [7,3], [1,2]]

```

Is there any smart way to remove duplicated elements from this?
It should return such array:

```
[[7,3], [3,8], [1,2]]

```

Thanks!