WordPress at a glance
function is not described

wp_clone() WP 2.7.0

Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Copy an object.

No Hooks.

Return

Object. The cloned object.

Usage

wp_clone( $object );
$object(object) (required)
The object to clone.

Changelog

Since 2.7.0 Introduced.
Deprecated 3.2.0

Code of wp_clone() WP 5.7

<?php
function wp_clone( $object ) {
	// Use parens for clone to accommodate PHP 4. See #17880.
	return clone( $object );
}