 
 		const deep:int = 2;
 
-		return doClone(source, deep, type);
+		return doClone(source, deep, null, type);
 	}
 }
 }

import dolly.core.errors.CloningError;
import dolly.core.metadata.MetadataName;
import dolly.utils.PropertyUtil;

import org.as3commons.reflect.Accessor;
import org.as3commons.reflect.AccessorAccess;

		return result;
	}

	dolly_internal static function doClone(source:*, deep:int, clonedObjectsMap:Dictionary = null, type:Type = null):* {
		if (!clonedObjectsMap) {
			clonedObjectsMap = new Dictionary();
		}

		if (!type) {
			type = Type.forInstance(source);
		}

