Mat clone bug 3232

Changed return value of getContinousSize() from Size to Size_<size_t> so that matrices with >= 2**31-1 elements are copied and cloned correctly. This fixes bug #3232.