This change is incorrect. It's meant to duplicate the structure at `*cursor`, and the cast is to fix an issue with `__typeof__` in the macro.