Copy identical attributes instead of shared classes