mozilla/rust — pull request #6498 by thestinger (2013-05-15 05:44:44+00:00)
Title: add a DeepClone trait for deep clones of shared ownership types

This is mostly for `std::rc` and `std::arc` (but I haven't implemented it for ARC yet).

Implementing it correctly for managed boxes is *very* non-trivial. It would probably require an unholy mix of reflection and TLS.