Add ability to input existing immutable cursors

In my project I had a use case where I've already created an immutable object, and I want to add it to immstruct later on. This code works for me, and I added a simple test case. Let me know what you guys think.