Top "Clone" questions

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

Clone a List(Of Class)

I've done some reading and cant seem to wrap my head around what the best approach would be to clone …

vb.net list class clone icloneable
Is there any reason to prefer System.arraycopy() over clone()?

When copying an entire array, I've often seen people write: int[] dest = new int[orig.length]; System.arraycopy(orig, 0, dest, 0, …

java arrays clone
How do I clone a sub-folder of a repository in Mercurial?

I have a Mercurial repository containing a handful of related projects. I want to branch just one of these projects …

mercurial clone dvcs
VirtualBox - Clone vs Snapshot vs Backup

Looking for a simple answer to some virtualbox options.. What are the differences between Clone & Snapshot & Backup? Which …

ubuntu backup clone virtualbox snapshot
I need to implement C# deep copy constructors with inheritance. What patterns are there to choose from?

I wish to implement a deepcopy of my classes hierarchy in C# public Class ParentObj : ICloneable { protected int myA; public …

c# .net clone class-hierarchy
What are the open source alternatives for Facebook?

Just want to look at how things are implemented for learning purpose and may even contribute something along the way. …

facebook open-source clone social-networking
Explain clones info in Github's Traffic tab

In a recent question I made, one of the answers pointed to another answer in another question where a way …

git github clone git-clone
$.clone and .cloneNode

I am a bit confused on the difference between jQuery $.clone and the raw .cloneNode property. If I am doing $(…

jquery clone clonenode
Set Git submodule to shallow clone & sparse checkout?

Many vendor Objective-C libraries (e.g., facebook-ios-sdk) instruct you to copy a certain subset of its repo's files/dirs into …

git github clone git-submodules sparse-checkout
can't clone git repos via http; info/refs not found

I am trying to make a git repository available for read-only access over http. I am doing it the old-style …

git http repository clone git-bare