External code for CopyMoveConstrainedOptional