I want to copy one OutputArrayOfArrays object to another. Something like this:
void function(OutputArrayOfArrays contour){
std::vector<std::vector<cv::Point>> contours;
OutputArrayOfArrays _contour(contours);
....Doing something....
contour = _contour;
}