How To Attach A Script To A Prefab Clone

How to attach a script to a prefab clone?
just the clone! not the prefab!
is i an add component thing?

GameObject tmpDrop = (GameObject)Instantiate (prefab, transform.position, Quaternion.identity);

 tmpDrop.AddComponent<ItemProperties> ();
1 Like