histfactory: add Clone methods and apply_snapshot