Ability to copy union and to set union type