public static function removeByValue(array $array, ...$values)
    {
        foreach ($array as $key => $value) {
            if (in_array($value, $values, true)) {
                unset($array[$key]);
            }
        }

        return $array;
    }