<p dir="auto">This should be pretty easy, it will just be the same as deriving for <code class="notranslate">Clone</code> (<code class="notranslate">src/libsyntax/ext/deriving/clone.rs</code>) but will use the <code class="notranslate">DeepClone</code> implementation of the fields/variants. Of course, it would be nice to factor out the duplicate code too.</p>