1 2 3
This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects.