Support reference preservation for ISerializable objects.