fix inherits to clone parent static properties

Previously, if you had a static property whose value was an object, the
child constructor function's static property would be assigned to the
same value. We want to clone that value so the child gets its own copy.