title: how to make the generice data type accessable to clone() method
body: <p><a href="https://i.stack.imgur.com/8NUam.png" rel="nofollow noreferrer">enter image description here</a>
  <a href="https://i.stack.imgur.com/8NUam.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8NUam.png" alt="enter image description here"></a></p>
  
  <p>as shown in the figure <br>
  there is an error at 32 line that says <br>
  <code>Node&lt;T&gt;(Object)</code> is not defined because <code>clone()</code> returns an Object data Type<br>
  <br></p>
  
  <p>I tried to make another constructor that takes an Object data type then cast it<br>
  <br> 
  it removes the first error which lead me to another error which says<br>
  the clone() method is not visible <br> 
  however, i write this line "<code>T extends Cloneable</code>"<br>
  any solutions :( </p>