func (e *Expect) Clone() Expect {
	ex := Expect{}
	ex.StatusCode = e.StatusCode
	ex.SchemaValidation = e.SchemaValidation
	for _, match := range e.Matches {
		m := match.Clone()
		ex.Matches = append(ex.Matches, m)
	}
	return ex
}
// Clone - preforms deep copy of expect object
preforms deep copy of expect object
// Clone - preforms deep copy of expect object
func (e *Expect) Clone() Expect {
	ex := Expect{}
	ex.StatusCode = e.StatusCode
	ex.SchemaValidation = e.SchemaValidation
	for _, match := range e.Matches {
		m := match.Clone()
		ex.Matches = append(ex.Matches, m)
	}
	return ex
}
func ( e * Expect ) Clone ( ) Expect { ex := Expect { } ex . StatusCode = e . StatusCode ex . SchemaValidation = e . SchemaValidation for _ , match := range e . Matches { m := match . Clone ( ) ex . Matches = append ( ex . Matches , m ) } return ex }
preforms deep copy of expect object
preforms deep copy of expect object