Transform elements to other (compatible) elements

I could do this in Balsamiq, and it is one key feature I miss and had used frequently.