Layer_Duplicate: migration of parameters to ValueBase type.