Added shallow clone and clone tests