trim To Rectangular
Copies the supplied array by trimming to the minimum number of columns of the supplied (potentially ragged) array so that the returned array is rectangular, where all row arrays have the same number of elements (columns)
Return
the copy
Parameters
array2D
the array to copy