allow migration of objects/exceptions across threads

but it's not perfect. you cannot migrate instances of user-defined classes.