Use the cleanUp method to reset the state of PrimerHeadlessUniversalCheckout. When clientSessionCachingEnabled is set to true, calling cleanUp will also clear the cache.
SWIFT
func cleanUp()