Allows to remove current element pointed by the cursor, maintainig internal state of the cursor, calling to the destroy function associated in the hash.
The function will call to the destroy function asociated to the hash.
Parameters:
cursor
The cursor pointing to the item inside the hash that must be removed.