Delete duplicate elements with Array.filter

Delete duplicate elements with Array.filter