const arr = [{id: 1, name: 'one', position: 1}, {id: 2, name: 'two', position: 2}, {id: 1, name: 'one', position: 3}]
const ids = arr.map(o => o.id)
const filtered = arr.filter(({id}, index) => !ids.includes(id, index + 1))
console.log(filtered,'filtered')
const uniqueArray = arr.filter((v, i, a) => a.findIndex(t => (t.name === v.name)) == i)
console.log(uniqueArray,'uniqueArray');