fix josdejong/mathjs #154

function clone should return the new object