add C++/delete_duplicate_element