Why clone isn't destroyed on collision with this code ?

public class projectilegenerator : MonoBehaviour
{
public Rigidbody projectile;
public Transform Target;
public Transform toto;
public Rigidbody clone;

    // Start is called before the first frame update
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {
        transform.parent = Target.transform;


        if (Input.GetKeyDown(KeyCode.Mouse0))
        {
            clone = Instantiate(projectile, transform.position, transform.rotation);

            clone.velocity = new Vector3(transform.position.x, 0, transform.position.z);

            
        }
    }

    private void OnCollisionEnter(Collision clone)
    {
        Destroy(clone.gameObject);
    }
}

I finally made it by doing a new script just for the destruction of the bullet and it works !