How Identify unique object using hashset??

i take a one paint gameobject but how identify this object .

how can i give paint object uniqueid???using hashset

  GameObject newobjs;
  public HashSet<GameObject> lists; 
  public GameObject paint;


 void player()
{
          newobjs = Instantiate(paint, position, Quaternion.identity);
          lists.Add(newobjs);
          Debug.Log("GameObject:" + lists.Add(newobjs));
}

Don’t use hashset. Use the object’s ID: Object.GetInstanceID