public static function create(
        DictionaryInterface $sourceDictionary,
        WritableDictionaryInterface $targetDictionary,
        LoggerInterface $logger = null
    ): CopyDictionaryJob {
        $instance = new static($sourceDictionary, $targetDictionary);
        if ($logger) {
            $instance->setLogger($logger);
        }

        return $instance;
    }