added deep copy. fixed araqne/igloosec#71.