Simplified clone.php