public static function only(array $arr, string ...$keys): array
    {
        $ret = [];
        foreach ($keys as $key) {
            if (isset($arr[$key])) {
                $ret[$key] = $arr[$key];
            }
        }
        return $ret;
    }