Magic method: Implements a deep clone.
public function __clone() { foreach ($this->properties as $name => $property) { $this->properties[$name] = clone $property; $this->properties[$name] ->setContext($name, $this); } }