[TIMOB-15031] Implemented cloning of contexts and values