Remove duplicate labels.