public static function remove(&$set, $args)
    {
        self::assertArgsNumber(1, $args);

        foreach ($set as $key => $value) {
            if ($value === $args[0]) {
                unset($set[$key]);
                return;
            }
        }
    }