Added a DynamicObject::cloneAllProperties() method.