Clone new gameObject from variable

Hi
I need to new gameObject from player variable. My destroy trigger and destroy my player and missing player. Don’t instantiate player

var player:GameObject;
var copyPlayer:GameObject=new GameObject(player); //my problem
var playerPivot:GameObject;
function Update () {

if(Input.GetKeyDown(KeyCode.Mouse1)){
	 	Instantiate(copyPlayer,playerPivot.transform.position,Quaternion.identity);
	 }

}

Use this instead of the object initialization you are attempting:

var copyPlayer : GameObject;

function Start()
{
      copyPlayer = Instantiate(player);
}