Add ::from method for cv::Mat copied from MxArray.hpp of mexopencv