[yan qian] add remove continuous duplication elements of a list.