Clone from zend skeleton