clone method
Implementation
MethodWithBody clone() {
final ret = MethodWithBody(
method: method,
headers: getHeaders,
authHeaders: getAuthHeaders,
cookies: getCookies,
before: getBefore,
after: getAfter,
metadata: getMetadata,
client: getClient,
body: _body,
);
ret.uri = uri.clone();
return ret;
}