return subtask; }
    protected NewTask createVanillaWithdrawTask(Task parentTask) {	// Create new task	Asset prototype = parentTask.getDirectObject();	NewTask subtask = inventoryPlugin.getPlanningFactory().newTask();	// attach withdraw task to parent and fill it in	subtask.setDirectObject( prototype);	subtask.setParentTask( parentTask );	subtask.setPlan( parentTask.getPlan() );	subtask.setPrepositionalPhrases( parentTask.getPrepositionalPhrases() );	subtask.setPriority(parentTask.getPriority());	subtask.setSource( clusterId );	// Copy all preferences 	synchronized (parentTask) {          subtask.setPreferences(parentTask.getPreferences());	}	return subtask;    }