implemented clone and removeZero