ass="nb">int</span><span class="p">]</span> <span class="o">=</span> <span class="o">...</span>

<span class="n">recreated</span> <span class="o">=</span> <span class="n">Index</span><span class="p">(</span>
  <span class="n">original</span><span class="o">.</span><span class="n">space</span><span class="p">,</span>
  <span class="n">original</span><span class="o">.</span><span class="n">num_dimensions</span><span class="p">,</span>
  <span class="n">original</span><span class="o">.</span><span class="n">M<