Top "Clone" questions

A clone is a copy of an object with all of the same attributes, data, and methods as the original object.

Efficient way to clone a HashSet<T>?

A few days ago, I answered an interesting question on SO about HashSet<T>. A possible solution involved …

.net performance clone hashset
cloning repository from gitweb

I want to clone a git repository whose git:// server is down. Fortunately its gitweb interface is still working and …

git clone gitweb
What's the best way to make a deep copy of a data structure in Perl?

Given a data structure (e.g. a hash of hashes), what's the clean/recommended way to make a deep copy …

perl clone
Clone JavaFX Node?

I have created a Node (AnchorPane) in the JavaFX scene builder and was wondering how to clone it. I saw …

java duplicates clone javafx scenebuilder
Why are objects automatically passed by reference?

I have a general question about deep- and shallow-copy in the context of the pass-by-reference- and pass-by-value-concept of C#: In …

c# clone pass-by-reference pass-by-value shallow-copy
How to clone an object in VB6

I am trying to automatically clone an object without having to instantiate a new one and manually copy every single …

vb6 clone propertybag
How clone has more performance than object creation

I'm trying to understand what's happening underneath the clone() method in java, I would like to know how is better …

java performance clone cloneable
How can I clone, modify, and prepend an element with jQuery?

I want to clone and prepend a div, however I want to change the prepended div name from preConfi to …

jquery clone prepend
How to clone a git repo with all branches and tags from refs/remotes?

I have a local git repo that I created from an svn repo: $ git svn clone -s svn:... I then …

git clone git-svn git-branch mirror