add session clone reuse function