#176 Add TRY_COPY macro + fragment
#176 Refactored to_SX
#176 Refactored to_DMatrix