code: function(parameters) {
  			var copy =  new CommandInvocation(this.handler, this.items, this.userData, this.command, this.commandRegistry);
  			copy.domNode = this.domNode;
  			copy.domParent = this.domParent;
  			if (parameters) {
  				copy.parameters = parameters.makeCopy();
  			} else if (this.parameters) {
  				copy.parameters = this.parameters.makeCopy();
  			}
  			return copy;
  		}
docs: Makes and returns a (shallow) copy of this command invocation.
  @param {orion.commands.ParametersDescription} parameters A description of parameters to be used in the copy.  Optional.
  If not specified, then the existing parameters should be copied.