code: func GetNewRCTemplate(deployment extensions.Deployment) api.PodTemplateSpec {
  	// newRC will have the same template as in deployment spec, plus a unique label in some cases.
  	newRCTemplate := api.PodTemplateSpec{
  		ObjectMeta: deployment.Spec.Template.ObjectMeta,
  		Spec:       deployment.Spec.Template.Spec,
  	}
  	newRCTemplate.ObjectMeta.Labels = CloneAndAddLabel(
  		deployment.Spec.Template.ObjectMeta.Labels,
  		deployment.Spec.UniqueLabelKey,
  		GetPodTemplateSpecHash(newRCTemplate))
  	return newRCTemplate
  }
docs: // Returns the desired PodTemplateSpec for the new RC corresponding to the given RC.