Index: branches/5.3.x/core/kernel/utility/unit_config_cloner.php =================================================================== diff -u -N -r15910 -r16177 --- branches/5.3.x/core/kernel/utility/unit_config_cloner.php (.../unit_config_cloner.php) (revision 15910) +++ branches/5.3.x/core/kernel/utility/unit_config_cloner.php (.../unit_config_cloner.php) (revision 16177) @@ -66,16 +66,17 @@ /** * Creates unit configs, based on 'Clones' option. * - * @param string $prefix Unit config prefix. + * @param string $prefix Unit config prefix. + * @param boolean $with_cached Process also cached clones. * * @return array */ - public function extrude($prefix) + public function extrude($prefix, $with_cached = true) { $main_config = $this->reader->getUnitConfig($prefix); $sub_configs = $main_config->getSetting('Clones', array()); - if ( isset($this->clones[$prefix]) ) { + if ( $with_cached && isset($this->clones[$prefix]) ) { $sub_configs = array_merge($sub_configs, $this->clones[$prefix]); }