Could be simplified:

```php
foreach ($this->params as & $param) {
    if (is_object($param)) {
        $param = clone $param;
    }
}
```