Remove common duplicates