Copy a state object. The received copy must be freed with nm_iam_state_free() or the ownership must be transferred to an IAM module instance.
struct nm_iam_state* nm_iam_state_copy(struct nm_iam_state* state)
- [in] The state to copy
NULL iff the state could not be copied