Command* Command::Clone()
{
	Command* clone = new Command( this->name );

	std::list<CommandParameter*>::iterator i;

	for ( i = this->parameters->begin(); i != this->parameters->end(); i++ )
	{
		clone->AddParameter( (*i)->Clone() );
	}

	return clone;
}