Change type of object also change the canvas

Is your feature request related to a problem? Please describe.

I don’t think it’s a problem. When I create a new object and haven’t made any changes to that object canvas, when changing the object type, the canvas doesn’t change.

Describe the solution you’d like

If the canvas hasn’t changed at all, when changing object type, apply the canvas of the new type.

Describe alternatives you’ve considered

Clear the canvas first before changing the type, the new canvas should be applied.

Additional context

This is useful when I create an object and realize that I’ve chosen a wrong type.