Remove duplicate attributes