public function saveStack($index = null, $and_clean = false)
    {
        $this->registry_stacks[$index] = $this->registry;
        if ($and_clean===true) {
            $this->registry=array();
        }
        return $this;
    }