This function executes [`Option::take`] on `data` located in [`Iart`].

# Safety

This is a macro function.
Running it in a way that disrupts the flow may result in a `panic!` or an error.
Also, in the worst-case scenario, `UB` may occur.