function streamFactory( options ) {
	var opts;
	if ( arguments.length ) {
		if ( !isObject( options ) ) {
			throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
		}
		opts = assign( {}, options );
	} else {
		opts = {};
	}
	return inspectStream;

	/**
	* Creates a writable stream for inspecting streamed data.
	*
	* @private
	* @param {Callback} clbk - callback to invoke upon receiving data
	* @throws {TypeError} must provide valid options
	* @throws {TypeError} must provide a callback function
	* @returns {InspectStream} inspect stream
	*/
	function inspectStream( clbk ) {
		return new Stream( opts, clbk );
	}
}
Creates a reusable inspect stream factory.

@param {Options} [options] - stream options
@param {boolean} [options.objectMode=false] - specifies whether the stream should operate in object mode
@param {NonNegativeNumber} [options.highWaterMark] - specifies the `Buffer` level for when `write()` starts returning `false`
@param {boolean} [options.decodeStrings=true] - specifies whether to encode strings as `Buffer` objects before writing data to a returned stream
@param {string} [options.defaultEncoding='utf8'] - default encoding when not explicitly specified when writing data
@throws {TypeError} options argument must be an object
@returns {Function} inspect stream factory

@example
function log( chunk, idx ) {
    console.log( 'index: %d', idx );
    console.log( chunk );
}

var opts = {
    'objectMode': true,
    'highWaterMark': 64
};

var factory = streamFactory( opts );

// Create 10 identically configured streams...
var streams = [];
var i;
for ( i = 0; i < 10; i++ ) {
    streams.push( factory( log ) );
}