LQE-122 Clone method fixed. Refactored equals method of TemplateBean