Avoiding setAttribute() side effects.
Avoiding setAttribute() side effects.

While optimizing components for the clipboard representation, calling
setAttribute() directly could have side effects on entity's components already
processed (such as re-setting properties already removed). To avoid side
effects, HTMLElement original setAttribute() and removeAttribute() functions are
used instead.

fernandojsg/aframe-inspector,aframevr/aframe-inspector,aframevr/aframe-inspector,fernandojsg/aframe-inspector