Removes duplicated strings