Copy/Clone an object.

I'm using a third party library that has methods/objects to create PDFs and to access a page in a PDF. I want to be able to copy/clone an object that's part of this library that represents a PDF page. Just doing an assignment from one variable to another merely references the same object.