Remove obsolete duplicates function

It does the same thing as roughness.