uniq filter

People want this really badly.

@arthurnn @dylanahsmith 
So in which case will this branch be taken?