remove duplicates from cm_arrays and cm_strings