diff --git a/lib/table.rb b/lib/table.rb
index <HASH>..<HASH> 100644
--- a/lib/table.rb
+++ b/lib/table.rb
@@ -224,7 +224,7 @@ module Enumerable
   #      #    +---------+-----------+--------+
   #
   def to_text_table(options = {})
-    table = Text::Table.new :rows => self.to_a
+    table = Text::Table.new :rows => self.to_a.dup
     table.head = table.rows.shift if options[:first_row_is_head]
     table.foot = table.rows.pop   if options[:last_row_is_foot]
     table
fixed Enumerable#to_text_table modifying self when :first_row_is_head or :last_row_is_foot is set to true