Remove duplicate material