src/deepstream-react.js
function( state ) {
			var key,
				clonedState = {};

			for( key in state ) {
				if( key !== LOCAL ) {
					clonedState[ key ] = state[ key ];
				}
			}

			return clonedState;
		}
function( state ) {
			var key,
				clonedState = {};

			for( key in state ) {
				if( key !== LOCAL ) {
					clonedState[ key ] = state[ key ];
				}
			}

			return clonedState;
		}
function ( state ) { var key , clonedState = { } ; for ( key in state ) { if ( key !== LOCAL ) { clonedState [ key ] = state [ key ] ; } } return clonedState ; }
Creates a shallow copy of the state and omits the local namespace

@param {Object} state a serializable component state

@private
@returns {Object} clonedState a serializable component state
Creates a shallow copy of the state and omits the local namespace