add todo to refactor later, remove unused locs and typehint clonePaymentProfile