add clean canvas method

add clean canvas method