Fixed Most of the Stack Overflow Bugs:

WHile deep cloning was not neccessary, we *do* need to make a new dict
everytime we clone an object. Else, all objects will share the dict,
resulting in cyclic loops while extending objects etc.