JuliaLang/julia — pull request #9270 by mbauman (2014-12-08 03:18:02+00:00)
Title: RFC: Add generic copy stagedfunction for all types

It is a no-op for all immutable types, and tries to call the default constructor for mutable types. Fields are not copied.

Supersedes #9246; see that issue for some discussion of this.