"k">return</span> <span class="n">result</span>
</div>
  <span class="k">def</span> <span class="nf">_copy_cleanup</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">new_kwargs</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Override this method for specific work to be done before new object init in copy method (e.g. duals in Coord).</span>
<span class="sd">    &quot;&quot;&quot;</spa