clone method

UMat clone()

returns deep copy of the matrix, i.e. the data is copied

Implementation

UMat clone() {
  final p = calloc<cvg.UMat>();
  cvRun(() => ccore.cv_UMat_clone(ref, p, ffi.nullptr));
  return UMat._(p);
}