<script>
addEventListener("DOMContentLoaded", () => {
  document.getElementById('a').appendChild(
    document.getElementById('b').cloneNode()
  )
})
</script>
<svg>
<path id='a'/>
<polygon/>
<rect/>
<ellipse/>
<line/>
<circle/>
<rect/>
<polyline/>
<polyline id='c'/>
<path/>
<animate/>
<animateMotion/>
<animate/>
<animateTransform/>
<animateMotion id='b' xlink:href='#c'/>
<animate/>
<animate/>
<animate/>
<animate/>
<animate/>
<animateMotion/>
<animate/>
<animate/>
<animate/>
<animate/>
<animate/>
<animate/>