Bug 989665 - Console API should clone objects propertly. Crash fixed, r=bz