Add managed constructor and move_if_nothrow sample