You have to remember information about the history of the event to do what you want. As other answers have already mentioned, you can use accumE
for that purpose. Here a succinct definition:
unique :: Eq a => Event t a -> Event t a
unique = filterJust . accumE Nothing
. fmap (\a acc -> if Just a == acc then Nothing else Just a)