public function __clone()
{
$this->_properties = clone $this->properties;
$unref = null;
$this->id =& $unref;
$this->name = "{$this->envId}-{$this->accountId}-{$this->cloud}-" . \Scalr::GenerateUID(true);
$this->_properties->setCriteria([['cloudCredentialsId' => &$this->id]]);
$this->_properties->setDefaultProperties(['cloudCredentialsId' => &$this->id]);
}