Export function to clone function debug info and autmatically clone the debug info in CloneModule.
This currently causes a regression in the debug info of the generated code we saves to a file since some of the debug info are not copied. (especially after http://reviews.llvm.org/D14265)
Test done: The code copied into julia fixes the missing debug info on both x64 and aarch64.