public void Test_Clone() { using (MagickImageCollection collection = new MagickImageCollection()) { collection.Add(Files.Builtin.Logo); collection.Add(Files.Builtin.Rose); collection.Add(Files.Builtin.Wizard); using (MagickImageCollection clones = collection.Clone()) { Assert.AreEqual(collection[0], clones[0]); Assert.AreEqual(collection[1], clones[1]); Assert.AreEqual(collection[2], clones[2]); } } }