Implement Tee using reflection