public override ISchemaBase Clone(ISchemaBase parent) { Index index = new Index(parent) { AllowPageLocks = this.AllowPageLocks, AllowRowLocks = this.AllowRowLocks, Columns = this.Columns.Clone(), FillFactor = this.FillFactor, FileGroup = this.FileGroup, Id = this.Id, IgnoreDupKey = this.IgnoreDupKey, IsAutoStatistics = this.IsAutoStatistics, IsDisabled = this.IsDisabled, IsPadded = this.IsPadded, IsPrimaryKey = this.IsPrimaryKey, IsUniqueKey = this.IsUniqueKey, Name = this.Name, SortInTempDb = this.SortInTempDb, Status = this.Status, Type = this.Type, Owner = this.Owner, FilterDefintion = this.FilterDefintion }; ExtendedProperties.ForEach(item => index.ExtendedProperties.Add(item)); return(index); }