Fix bug in clone() function to check if arg is array, and if so, don't try to clone it. #gklst