Remove duplicated strings.