Copy img attributes to picture

If img has attributes, e.g. class, id, style, then copy these to the new img tag created by picture.