Reset all resource memory of the P2Resource object that is linked to a P2Project object and a P2Schedule object.
This function clears all the memory that was used at the current P2Resource object and makes the object ready for use again. It deletes all resources, both the availability and the resource demand of the activities of the project. The pointer to the P2Project and P2Schedule objects are not deleted. An alternative to this method is to delete the resource object and create a new one using the
P2Resource:new function.