adds CanvasRenderingContext2D.prototype.clear