Yes, the D-05 supports MIDI Thru. You can turn this function ON or OFF by going to:
[FUNCTION] > MIDI > Thru
When MIDI Thru is ON, all MIDI messages received at the MIDI IN jack are forwarded to the MIDI OUT jack.
You may want to turn this OFF to avoid MIDI feedback loops when connecting multiple devices.