A token filter of type remove_duplicates that drops identical tokens at the same position.
remove_duplicates