Remove duplicate strings.