Plugin::__clone()
Clone.
Description
Disable class cloning and throw an error on object clone.
The whole idea of the singleton design pattern is that there is a single object. Therefore, we don’t want the object to be cloned.
Source
File: includes/libs/plugin.class.php
public function __clone() { // Cloning instances of the class is forbidden. _doing_it_wrong( __FUNCTION__, esc_html__( 'Something went wrong.', 'codeflavors-vimeo-video-post-lite' ), '2.0' ); }