function cartesianSquare( x ) {
	if ( !isCollection( x ) ) {
		throw new TypeError( format( 'invalid argument. First argument must be an array-like object. Value: `%s`.', x ) );
	}
	return base( x );
}
Returns the Cartesian square.

@param {Collection} x - input array
@throws {TypeError} first argument must be a collection
@returns {Array<Array>} list of ordered tuples comprising the Cartesian product

@example
var x = [ 1, 2 ];

var out = cartesianSquare( x );
// returns [ [ 1, 1 ], [ 1, 2 ], [ 2, 1 ], [ 2, 2 ] ]