Memset the new initialized cookie object