   makeClip = ( clippingPath ) ->
     clip = {
       tempGroup: null
+      isVisible: false
 
       add: (clippingPath) ->
         # prepare a group to apply the pathfinder effect to

          app.executeMenuCommand("expandStyle")
          # expanding created a new group
          @tempGroup = doc.selection[0]
          # restore previous selection
          doc.selection = prevSelection

      copy: -> return makeClip @tempGroup.pageItems[0]
      get: -> return @tempGroup.pageItems[0]

      if not @pathCnt?
        @pathCnt = countPathItems obj

      unless obj.hidden or clip? and !clip.isVisible
        switch obj.typename
          when "Document"
            for layer in obj.layers
