I am looking for a way to **distinct** an array of objects, the method needs to distinct by two attributes for instance,

```
let arr = [
    {
        name: "George",
        surname: "Hendricks"
    },
    {
        name: "George",
        surname: "Marques"
    },
    {
        name: "George",
        surname: "Hendricks"
    }
]

```

Once filtered should only return an array of 2 objects, **George Hendricks** and **George Marques** As they are unique. Currently I can only filter with **ES6** Set like so

```
let uniArr = [...(new Set(arr))]

```

How can I accomplish my task as fast as possible (working with big data)