You can clone with
ruby-llvm does not include finalizers anywhere, which leads to memory leaks. This was also discussed in jvoorhis/ruby-llvm#21.
See also the discussion at jvoorhis/ruby-llvm#12.
I suggest at least adding finalizers to non-uniqued objects (which can't be returned twice from LLVM), and trapping #initialize_copy.