Yeah, you just check against the first target's material. If it's a match (metal v metal, leather v leather), do the transfer. Otherwise, kick out an error message to the player.
If you restrict by material, all you need to transfer is name, weight, hue. Med status is dependent more on...