I get the following error when trying to clone a grahic:
Uncaught TypeError: Cannot read property 'path' of null
If I cannot use Dojo lang.clone to copy a graphic, then can someone provide some sample code to do this?
I need to make a copy of a graphic, change it's name attribute, and add it to a FeatureLayer.
Thanks!