public function onSiteClone(SiteCloneEvent $event)
    {
        $source = $event->getTemplateSite();
        $target = $event->getSite();

        $this->ensureSiteMenus($source);
        $this->ensureSiteMenus($target);

        if ($this->treeManager && $this->allowedMenus) {
            foreach (array_keys($this->allowedMenus) as $prefix) {

                $sourceName = $prefix . '-' . $source->getId();
                $targetName = $prefix . '-' . $target->getId();

                $this->treeManager->cloneMenuIn($sourceName, $targetName);
            }
        }
    }