Added missing clone implementation for GenericExpression.