Is there a way to return all of an Object's variables?

I want to assign an existing Object all the vars of a prototype Object, without a direct reference. One way to do this is:

var protoObject = {nom:"Bruce",age:111}
var enObj:Object;

enObj.nom = protoObject.nom; enObj.age = protoObject.age;

This way both Object’s values for .nom and .age can be independently changed, but it’s tedious.

Is there an automated way to assign all of protoObject’s vars to enObj?