public static function array_unique_keys($array)
    {
        $arrResult = [];

        foreach (array_unique(array_keys($array)) as $varKey)
        {
            $arrResult[$varKey] = $array[$varKey];
        }

        return $arrResult;
    }