Clear the task state.
This function clears the state of the drama::Path object, such that it will will presume is has just been constructed.