public function cleanConfig(array $baseConfig, array ...$referenceConfigs): array
    {
        $cleanedConfig = $baseConfig;
        foreach ($referenceConfigs as $referenceConfig) {
            $cleanedConfig = $this->removeIdenticalValues($cleanedConfig, $referenceConfig);
        }

        return $this->sortConfig($cleanedConfig);
    }