protected function addDispatchDuplicateModel(EnvironmentInterface $environment)
    {
        $environment->getEventDispatcher()->addListener(
            PostDuplicateModelEvent::NAME,
            function (PostDuplicateModelEvent $event) {
                $this->copiedModel   = $event->getModel();
                $this->originalModel = $event->getSourceModel();
            }
        );
    }