Carry over attrs and classes from one element to another.