add deduplicate, a script to remove duplicated item in a list