wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:100Creates a deep clone of this request.
public function __clone() { // Clone headers collection $this->headers = clone $this->headers; // Clone request options if present (contains only primitives) if ($this->options !== null) { $this->options = clone $this->options; } // Note: $method is an immutable enum and can be safely shared }Introduced in 0.4.2. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.