FUNCTION
Clear the list, all entries are removed. If a destruct hook is set it will be called for every entry.