Improve methods Clone and DeepClone.
Update gitignor