The values of the properities are persistent as long as your applicaiton is open. You cannot clear those properties using "clear". Instead of using "clear", you can assign the property an empty value. For example. please try something like the command below:
When that line is executed, the "delete" method of the Arduino object should be called.