Essentially copies cairo_gstate_t. This is in preparation for attaching more information to the snapshot.