code: func (r *ResourceLifecycle) Copy() *ResourceLifecycle {
  	n := &ResourceLifecycle{
  		CreateBeforeDestroy: r.CreateBeforeDestroy,
  		PreventDestroy:      r.PreventDestroy,
  		IgnoreChanges:       make([]string, len(r.IgnoreChanges)),
  	}
  	copy(n.IgnoreChanges, r.IgnoreChanges)
  	return n
  }
docs: // Copy returns a copy of this ResourceLifecycle